﻿using NicoView.Model.Share.Service.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NicoView.Model.Service.Events
{
    public delegate void NicoWarningHandler(NicoWarningEventArgs e);

    public sealed class NicoWarningEventArgs:NicoEventArgs
    {
        public NicoWarningEventArgs(Exception e, string notifyMessage)
        {
            this.NotifyMessage = notifyMessage;
            this.Exception = e;
        }

        public string NotifyMessage { get; private set; }

        public Exception Exception { get; private set; }
    }
}
